All Functions of Week 7

roc

{pRoc}

Create a Receiver Operating Characteristic (ROC) curve

binomial

{base}

Family argument in glm()

mutate

{dplyr}

Modify/create a column in a data frame

c

{base}

Combine values/vectors into a vector

library

{base}

Load an R package

attr

{base}

Access or modify the attributes of an object

group_tt

{tinytable}

Grouping in tinytable

predict

{stats}

Predict Probability

setwd

{base}

Set Working Directory

filter

{dplyr}

Filter out rows of a data frame according to logical vector

plot

{graphics}

Generic function from base R to produce a plot

tibble

{tibble}

A modern data frame from the tidyverse

ungroup

{dplyr}

Resolve grouping created with “group_by”

auc

{pRoc}

Returns the area under the curve

group_by

{dplyr}

Group tibble/data.frame by a factor variable. All further tidyverse operations are performed group-wise

regTermTest

{regress}

Perform statistical tests for individual regression coefficients

modelsummary

{modelsummary}

Creates regression and data tables

lag

{dplyr}

Shift values in a vector or time series

unlist

{base}

Flattens a list into a vector by extracting all its elements

read.csv

{utils}

Read a csv file to data frame. Specify stringsAsFactors = FALSE to keep all string columns as characters

list

{base}

Create a list object

glm

{base}

Fits generalized linear models

summary

{base}

Obtain summary statistics or detailed regression output

The end!